package task3_13;

import java.util.SimpleTimeZone;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 8:37
 * @description:测试类
 */
public class ShapeTest {

  public static void main(String[] args) {
    //利用多态创建对象
    Shape s1=new Triangle(3.5,5);

    Circle s2=new Circle(5);
    Manager manager=new Manager();
    manager.output(s1);
    manager.output(s2);
  }

}
